Fixed another typo that caused an exception