fix error handling
1.0.2