fixing function renamings from plugin.