fixed all bugs for running ants