parsing fixes + log clear command