Eliminate an unnecessary array