end transaction complete