fixed compilation errors after renaming objects