append ifdef FLAG
append flag persist connection