added support for preview header