fixed haxleib template, now created with code