fixed gif bug