fix when response is empty when sending presence