updated to the latest kurl with fixed buf