Fixed sub-directory installed issue.