remove unwritable attributes when saving person