fix notes creation