fix error handling whew