fixed the table formating problems