remove array dependency