Fixed some silly errors