fixing missing template warnings