improved probe tostring method