remove unnecessary partial URL