fixed float to str conversion error