bug fixes in batch gui