compatibility to credis