Correct error for cli