fix exit-code-not-0 in check&download