pathway templates fixes in labels