Restore minegressmain