Fix bug when target field has more than 2 elements