fixed an error that lead to the generation of invalid dot files