fixed #23 For Index bar support