fix edit and view button inside the table