Fixed some stupid mistakes.