Improving the inpainting