Removing unnecessary debug messages