Fixed unmatched array bug