modified backupw a bit