removed magic strings and numbers from IndexParser