from even to odd

code change to correct code