regenerate encoded part - look like it was wrong