fixed bug in forms created by the last commit