made gif load correctly