fix table scan blank line problem