Fixed a bug with empty notepad names