Well formatted form turns into horrific PDF