fix gif skipping