remove hard-coded refs to /tmp