Mdef: fixing value inheritance