for a better redirect output format