fix table.php