fixing another typo. How was this code working in the first place?!