fixed form rendering issues that broke some tests