fix first load issue.