fixed a bug in autobackup