fix bug caused by rename script