Fixed bug caused by stupid typo