Fixed the notes bugs
Fixed minor error