fix consideration for generate button