fix some tables