fix str convertion