medication remove array of arrays