workaround loop "eating all memory" of "preinstall"