fix loop
ignore html files