Fixed bug for array of functor.