fixed from array error when array + object