fix backupdir variable name