Bug fix for expcv and build-table; other minor edits