a nickname gen function was wrong