fix bug in classes admin ui