delete style + index