solving a level menu bug