Fixed a log in class.c