revert attributes to default values