investigate issue with empty first element of array