add some error handling for server errors