convert mktables to parent.pm instead of base.pm