Removed bug in batch file