proper segmentation of various states of a plugin
fix for bug 790008