fix with ga function