fix bug in process url