first convert to array, so ree and 1.8.7 work also