fix miditemplate folder setup