Fixed a few compiler bugs, need to fix a lot mroe