Fixed issue setting the value for transaction for key location