Fix rubocop due to new version