fixed issue with note rendering