fixed backup bug