fixed some rubocop issues