fixed error message with --download flag