rundir fixes