fixed some bugs with run not being copied