fix cutUrl bug