Bugfix in tng

filter_register doesn't work with tng ... I think this repairs it.