fixed a few silly mistakes