return empty array instead of 0