Delete unused logics