fix compile error: convert to string