Fixed the gender bug