optimized remove attributes
spelling