Fixing exception, and providing LOG.