gateway: rename a function