fix RuboCop offenses