fix has template