Fix Bug on Harmonize Sex Function