fixed issues with merging in index.html