bug fix GA.prep