fixed the note rendering component