fixed double-click and removed printouts