Forms are not being saved correctly