revert to utils.globalmethod