fixing string checking of classes
fixing bug with comparing string class comparisons