makefile buf fixed