convert to string, to avoid sql error