Fixed typo error in watermark function