fixed random issue.