Issue #79
Fixed dtreg