fixed dirmail output