merge factor to array