fixed the bug that caused notes to be created 2 by once