removes debugging from index