fix some rubocop errors