use short paths in debugs, better type inference [ci skip]