fix the bug with selecting random name out of range
add surnames fixation