fixed a couple of mistakes