Fix rubocop violations