varfilter small fixes