add filter when submit