Corrected spelling error causing bug