fixing leveling in groups