make class name check case insensitive
Merge pull request #179 from sidux/patch-1

make class name check case insensitive