fixed some rubocop errors