debugg logging and fixed float to str