added failsafe plugin management