Update fix to #3 that ensures TUN_CAP is blank first