fixed escape char bug