fix the recode problem with nickname and add several functions.