fixed bug for build