fixing table actions