fixed bug in probe toString function