moved db xmldb to filter