fixed segv on '-l'