fix browser crash issue.