possible fix in gif parser