better recognation of gif