handle cached case