resolve gender bug