fixed some gif stuff