fixes #13 better error handling