Fix problem with importing TW files