fix crash when receiving malformed uri
version/changes