fixed typo that prevented compilation of code