save the frame information

slight change the position of gate points between 2 to1 and 2 to 6