Fix template block