rename some function and variable