Fixed typo that caused the app to crash