fix bug caused by renaming