make the items table work