Fixed undefined resolveAndDial