fix bug of rename function