remove unwanted block from templates