correct typos in cycle