Fixing compiling error through renaming