remove gen from index