Fix cache adapter