resolve clusterfuck after restoring from backup