fixed some silly mistakes