Update 1.0.6

Fixed the index bug