minor fixes in haketarget.c|h