delete unneded check from array