make backward compatible.