Fixed btn_batch outside block