frame: fix, table length is unconditional