fix bug in GA