fixed all rubocop warnings