fix new file creation