Improve ga logic, ga parameter to disable ga