improved the sdp parsing