[BUG #6984] run generate fix