Fix transactions