fixed bug in vrep filter.