removed error in whitelist_attributes