Temporary fix to issue where some paths would be cut too short in the template.