fixed indexing problem in webstorm