better error handling all around
releasing 0.8.2