bugfix : class selection