add get curr_ci macro