class Exception fixed