Fix issue to catch error