watermark did not work because of a missing variable