temoplate block fix