refactor for rubocop
remove check_sizes.rb
remove reference to check_sizes