minor tweaks to correct routing, index of steps still not working