Fixed closure factory path issue.