bug fix in makefile