cast magic_iso_func() output to str