remove global function rule check