correct the gif file