fixed nested table issue. still need to test table stuff more + maybe give ObjTable a nicer interface