generate dot-file, fixes