improved tables, fixed validation bug for empty object