fix issues for rubocop