fix class call