switched link to tables to right page