fix rubocop warning 'SelfAssignment'