fixed a typo that crashed the app