make filter work and refresh versions correctly