fix console messages