added function to remove leading slash in tf frame ids to avoid tf2 error