fixed a bug where the app would crash when guessing a class name

Fix for #255