Fixbug on url parsing