quick fix to shareNote function