fix removal of gifs