fix bugs in URL parser