add support for static dom base template