NXP-12787: better initialization of safeEdit