fixed exception class