restore NBug packages first