fixed a global leak issue.
1.0.0 RC.