Fix template downloading issue (TUI-52)