Fix dot file last lines