fixed some gif issues