fix error handling
Release 0.0.3