fixes Makefile, lst, main