Dist bug fix