fix problem on making dist files