fixed a few slight mistakes