typos in reference loop