handle null responses from servers