fix generation check
fix interactive