Fix a bug in hasCLass