fix build issue with tunnel config