handle errors in responses correctly, some minor bug fixes, push new version