minor fix on templating system on multiple file downloading