fix bugs
remove check
makefile