fixed a dumb bug