Fix for kwhd not reseting to zero