set table_prefix properly