fixed a silly bug that was the result of a hasty copy paste job