fixed 2 bugs todo with empty commandlines