fixing transactions controller