filter saving (bug fixed)