disable critical/warning threshold
do not strip last char when we need everything til the end
minor fixes