Fixed typo that prevented some functionality from working.

Fixing typo