Removing unwanted debug statements