fixed ghost index bug