fixed nested table handler