remove extra notes db query