fixes a typo bug