Fixed up some silly errors