get rid of . files
fix typo in main program