prevent notice if no object is returned in response, but method getStatusReturnObject is still called