index file remove fix