Fixed some stupid errors