manage index and bug fixes