return empty array when not found ids