fixed not closing the serial and added new transaction insted of deleting them