Fixed a typo

Fixed a typo that crashed the program