Returns new note on PDF attachment
Removed some warnings