fix linting issues to rubocop 0.25.0

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