when structure producing dead-code => replaced by if statement