fixed a small typo that was causing the program to error out