fix prevents loading remote plugin several times when notes are enabled