remove unnecessary url