fix urlAndCallback variable error