Attempted to use transaction to fix the error