fix restore from mpk command line