remove array cast