fix problem with dist target