fixes a plugin ordering problem