error handling for response issues