Stopped double rendering of form