fix to string cast