Removing spurious print