handleSDP fix