Fixing bad template block