removed useless bit of code in bat launcher