fix compilation error with no used template/html package