Replace nickname if it as at beginning or end