fixed crash in command line tool