Bug fix: format() table (Issue #302)