preparibng dirty plugin system