main watermark resolve