fix table constraints; closes #102