male/female bug fixed