strings were not being escaped correctly