fixed supoort for empty strings on arrays