Get rid of useless dir vars