small bugfixes in print error sectioN