fix the truncated url