avoid refresh note twice