fix some silly mistakes