change template for leaves - use traditional table