fixed nested conditional true false. function 1.