removes console messages