fix bug in seahorse with class variables in exception class