fix NameError: uninitialized constant Rubocop