fix use of wrong ArrayUtils method