changed escape char parser