fixed ActiveState mixin example