show histogram warning only if ks_type is set fixes [COGE-242]