Constant substitution works with db/dw