fix tunnel entries

Fixes creating tunnel entries.