remove attributes from wrapper