fixed warning when converting long to string