recommitted main.html after deletion