fixed creating with no filename