fixed a typo and seems to be working