fixes issue with html files