fixed issue with wrong argument type in single_to_str