improve error handling, v0.5.2