bugfix for method class name