fixed bug in deleting .html files