Fixed errors in backup system.