fixed newfile issues with /edit/ GET requests