correct assignment within condition statement #4433