fix the bug of strRepr. Now single quote is escaped correctly