Fix gate model