fixed select class problem