added reaction on IOError