improved error handling for failures