Empty arrays led to syntax errors