fix rubocop problems