change error handling
Version bump to 0.1.2