remove notes which not used