remove obsolete filterText function