fix notes-popup issue