restore runtime related.