fix condition getter/setter