fix yingyang

judge condition