bugfix: error while has exception