bug fix for untitled file