make sure temporaries are not lost In KfComponentsHolder

following Chris report modified both for consistency