fix one of a kind error