avoid unnecessary plugin reloads