Linux fix nested template