fixed a foolish mistake