updaed checker for HRESULT.