Fixed the gate