bugfix: codegen.c makes function call using func_name, but func_alias should be used