removing unnecessary url param