respect Bass:Field(table); other fixes and cleanup