fix bug of url parser