add place holder swapping to curly analysis