Fixed problem with an exception, but another exception comes!!!