plugin init behaviour improved