fix error handling
release 0.1.1