fixing gif to work