tried (and failed) to fix run errors