remove printf debug
temporary fix codegen function ends non terminator instraction will ends
fix codegen if statement using block generator