Wrong class called