Transaction bug fixed