fix bug for makefiel