fix error print, CLI
update