fixing typo with an invalid print statement