Fix when no filename