fix convert to string bug