bugfix for backup