unify the way to adding to array.fix