Fix bugs of backup method for NXMaint class