fixed crash on filter, text search and close