adding support for hidewatermark