impruve the final merging solved the problem with the color table