fixed gender not available bug