minor fix in escape code