fixes table show bug and delete button