fix a couple of more bugs
removed unneeded $run