Minor fixes in autoTransaction