Fixed the hell out of stupid errors