Removes races conditions from the tables and vis