Added the previous hack also in WriteNote