set deafult max hist window to the default in the yaml - #297