bad filename fix