random fixing in plugins