This doesn't fix the krun external variable's bug but I hope it helps.