fixed crash

fixed bug that caused the whole instance including the console and the game to crash upon typoing an argument(or doing something completely random)