Fixed issue with wrong inports in dist file