pv templates fix (pv-class directive)