fixed bad reference to exception class