Fixed a small OS specific bug and the fffine autoformating of the template.