fix style index