Fixed apache dependence cyle issue.