Thank you TraDaToR and Bob! Both of you were correct. I figured out the problem. The old number was restored to the tws.xml file everytime I started my TWS. I just unchecked 'Store settings on Server' and it used the current tws.xml file on my machine without restoring my previous saved idn number from the server.