fix rubocop issues

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