fixed function new design and logig fixed filters bug.........