fixed issue with using from an external nested module