fixing an ArrayIndexOutOfBoundsException when using command 'time' without arguments