removing bad chars at fileupload, did a dynamic template for repo, but fileupload does not work atm