fix bug in freeroi command line