fixed the -t option