cleanup of ga codes