give priority to gif