fix filename exetension error