fix cond compiler bugs