do not cache result if array count 0