fixed yet another bug in create form