Fixed feature gen error