Fixed the form autorendering