remove properties in map attribute