fixed some silly errors