fix remove command in cache manager