fix copying of index.html to target classes