numberofSexes bug fixed