fix rubocop warning 'ParameterLists'