fix url arg parsing bug