change the gate to horizontal log