migration issues regarding escape chars