fixed fields not saving