remove unnecessary []-brackets (contributed by Kurt Huwig)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fix typos (by Kurt Huwig)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>