Makes stuff work and small fixed for Transaction model