debug functions removed in all plugins