update for rubocop and remove comment