check gender length