add make and bug fixed