replace table with spaces