fix issue to download file + add home template