fixes when current file not saved (close #14)