avoid deprecate and harmful global binding