she 'd inputted a wrong number when calculating the warp back to prehistoric times , and they 'd appeared just as their doubles were leaving the stables to go back and stop tilda from killing alexander the first time .