fixed buf leave event to restore udpatetime