Fix database transaction rece