Fixed close issue.