Hidden fields are not staying hidden