fix index bug, NLP update location