more rubocop fixes

Signed-off-by: Patrick Meier <patrick.meier111@googlemail.com>