fix bugs for data cache server