removing console messages