further mod on table.php