some bug fixes, added default_field kwarg to draw_table