Fixed id in some tables