more pathway add-badge changes, add function is broken