Fix wronglogic.