fix a debug msg
fix makefile
change makefile for debug