fix repeating global_funcs for fastcomp