the problem they were having was that although the nav com had planned a perfect course to earth , it had failed to take into account the moon in the twenty-first century was much closer to earth than it was in the twenty-fifth century , almost twelve million miles further away to be precise .