proper fix for gif