Bugfix!
catch error closer