restoring complex maxinit properly