modified better title filter function system