fixing typo bug