Forms are not saved properly