fix rubocop warning 'AccessorMethodName'