fixed rubocop issues