apply some rubocop conventions