fixed a bug where epsilons were not always followed