lua 5.1 disallows #table override. shimmed index_gen