fixed missing mysql commit