added one more condition for fanMode