updated resumeNote so that it filters empty notes