Fetch array correctly