updating pnthr with small bug fixes