change to array if one is not given to dispatcher.