Don't use capture function when we can return the table directly https://sourceforge.net/p/webadmin/bugs/4360/