````$dh```` could be false - should we handle this cas properly?
@icewind1991 @PVince81