fixed bug caused by renaming