only return an array in lists if needed