Fixed some more stupid errors