Fix double transaction