fix form rendering