fix node dist for terminals