cleaning up ms