fixed typo that caused an error