fix bug: gender parameter.