fixed FatalException class