detector hit tostring changed to print on one line