adding ENT_QUOTES to escape function