Fixed a bug caused by renaming things.