fix images extensions