change gender code for represent