Fixes incorrect batch syntax