Fixes runtime in train/explode()