{DH}[coding] few bugfixes