fix for loading gif