- fixed global function call