fixed odd() fn