* Fixed database transaction