fix img atr in index file