modified warningAcceptor