fixing typo in code