fixed notes bug