[add]add lastError property