fixing some of the GIF stuff