fixed OutOfBoundsException on commands without arguments

fixes #22