fix level selector bugs