fixing a few things with form rendering