fix rubocop and license