correct value->location converter for substitution boxes