fixed error when not having GateInfo.txt