Fix gif problem