remove unneeded \sm's