Fixed uncaught expections which was appeared with new libraries.