respect inheritance in conditions