fixed bug where user provided gifs could not write