fixed a couple of mistakes with last update.