mimes: gate callback