remove index from public