fix logger and makefile LoL (i did not test)