Updated sole with small bug fix for clearing