delete needless line
modify inline-generator more simple logic