fix restoring redis ops