Fixed spelling error that was causing the code not the work correctly.