bugfix even-odd