fixing template block tags.