fixed bug in engagement segment definitions