fixed new file input when not on a safed view