Fixed bugs with in app transactions