bau fixed

clazz.class changed to class.to_s