rename debug to miss
change getFuncName for later debug template output