return empty array instead of None