fixing transaction call